<?php

$rows = array( array('单号', '供应商', '金额', '备注', '用户', '审核状态', '入库状态', '时间') );
if($list) foreach($list as $ware){
	$rows[] = array( $ware['sno'], $ware['supplier_name'], fnum($ware['total']), $ware['remark'], $ware['user_name'],
			IndentHelper::audit2txt($ware['audit_flow']), IndentHelper::back2txt($ware['back_flow']),date('Y/m/d H:i',$ware['addtime']) );
}
Exporter::csv($rows, '采购订单明细');

?>
